package top.kuxiao.crmserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 客户开发计划
 * </p>
 *
 * @author xiaozhang
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DevPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "dp_id", type = IdType.AUTO)
    private Integer dpId;

    /**
     * 销售机会编号
     */
    private Integer dpScId;

    /**
     * 计划日期
     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private Date dpDate;

    /**
     * 计划内容
     */
    private String dpContent;

    /**
     * 执行日期
     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private Date dpExecutionDate;

    /**
     * 执行结果
     */
    private String dpExecutionResults;

    /**
     * 客户经理
     */
    private Integer dpExecutorId;


}
